package com.bbcare.followup.plat.entity;

import com.bbcare.comm.DateUtil;

import javax.persistence.Entity;
import java.io.Serializable;

/**
 * @name: 门诊随访预约表
 * @author: czy
 * @createTime: 2019.5.22
 * @description: 门诊随访预约基本信息等
 * @modify:
 */
@Entity
public class PatientAppointment implements Serializable {
    private static final long serialVersionUID = 1L;
    // 门诊预约id
    private String id;
    // 患者id
    private String userId;
    // 患者手机号
    private String phoneNo;
    // 登记者名称
    private String persenName;
    // 任务id
    private String taskId;
    // 任务名称
    private String taskName;
    // 任务id
    private String tenantId;
    // 任务id
    private String queueId;
    // 预约状态,1:预约,2:取消,3:完成
    private String appointmentState;
    // 预约类型,1:门诊预约,2:量表预约,3:其他
    private String appointmentType;
    // 预约时间
    private String appointmentTime;
    // 备注
    private String remark;
    // 扩展字段1
    private String extendedField1;
    // 扩展字段2
    private String extendedField2;
    // 扩展字段3
    private String extendedField3;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    public String getPersenName() {
        return persenName;
    }

    public void setPersenName(String persenName) {
        this.persenName = persenName;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getQueueId() {
        return queueId;
    }

    public void setQueueId(String queueId) {
        this.queueId = queueId;
    }

    public String getAppointmentState() {
        return appointmentState;
    }

    public void setAppointmentState(String appointmentState) {
        this.appointmentState = appointmentState;
    }

    public String getAppointmentType() {
        return appointmentType;
    }

    public void setAppointmentType(String appointmentType) {
        this.appointmentType = appointmentType;
    }

    public String getAppointmentTime() {
        return appointmentTime;
    }

    public void setAppointmentTime(String appointmentTime) {
        this.appointmentTime = DateUtil.getTimeStampSec(appointmentTime);
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getExtendedField1() {
        return extendedField1;
    }

    public void setExtendedField1(String extendedField1) {
        this.extendedField1 = extendedField1;
    }

    public String getExtendedField2() {
        return extendedField2;
    }

    public void setExtendedField2(String extendedField2) {
        this.extendedField2 = extendedField2;
    }

    public String getExtendedField3() {
        return extendedField3;
    }

    public void setExtendedField3(String extendedField3) {
        this.extendedField3 = extendedField3;
    }
}
